package org.example.seata.bs.api.vo.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * @author hzq
 * @date 2021/11/17 16:07
 */
@Data
@Accessors(chain = true)
@ApiModel(description = "订单详情")
public class OrderInfoVo {

    @ApiModelProperty("订单详情id")
    private Integer orderInfoId;

    @ApiModelProperty("订单id")
    private Integer orderId;

    @ApiModelProperty("产品id")
    private Integer productId;

    @ApiModelProperty("产品名称")
    private String productName;

    @ApiModelProperty("产品简称")
    private String productShortName;

    @ApiModelProperty("产品数量")
    private BigDecimal productCount;

    @ApiModelProperty("产品单价")
    private BigDecimal productPrice;

    @ApiModelProperty("产品总价")
    private BigDecimal productTotalPrice;
}
